﻿@{
    ViewBag.Title = "Home Page";
}
<h2>@ViewBag.Message</h2>
<p>
    Check us out at <a href="http://jaxdug.codeplex.com">CodePlex</a>.
</p>
<h3>
    Explain this layered cake to me!</h3>
<ul>
    <li><b>Model</b> - Objects with properties that you will be working with. Also used for validation on forms and a place to scuplt data. Inherit from BaseModel class.</li>
    <li><b>ViewModel</b> - Includes your Model plus any other relative data for that view. This includes page, page size, message and others. Inherit from BaseViewModel class.</li>
    <li><b>Controller</b> - This is where you prepare the data for your ViewModel object that will be used in your Views. Inherit from BaseController class.</li>
    <li><b>Service</b> - Implement methods to explicitly gather data from a data source. This layer will allow us to change the way we gather data without having to change all of our code.</li>
    <li><b>View</b> - This is where you will create the displayed page. No logic should be used in here, only code to format the data.</li>
</ul>
<div id="profiles"></div>
